  -- Essence of Desire --
function spell0_23419(pUnit, Event) --@Aura of Desire,Heal--
pUnit:FullCastSpellOnTarget(41350,pUnit)
pUnit:RegisterEvent('Sorts_23419', 0, 1)
end
function spell1_23419(pUnit, Event) --@Deaden,Heal--
pUnit:FullCastSpellOnTarget(41410,pUnit)
pUnit:RegisterEvent('Sorts_23419', 11000, 1)
end
function spell2_23419(pUnit, Event) --@Rune Shield,Heal--
pUnit:FullCastSpellOnTarget(41431,pUnit)
pUnit:RegisterEvent('Sorts_23419', 15000, 1)
end
function spell3_23419(pUnit, Event) --@Spirit Shock,Heal--
pUnit:FullCastSpellOnTarget(41426,pUnit)
pUnit:RegisterEvent('Sorts_23419', 6000, 1)
end
function Sorts_23419(pUnit, Event)
choix_sorts_23419 = math.random(0, 3)
if choix_sorts_23419 == 0 then
pUnit:RegisterEvent('spell0_23419', 1, 1)
end
if choix_sorts_23419 == 1 then
pUnit:RegisterEvent('spell1_23419', 1, 1)
end
if choix_sorts_23419 == 2 then
pUnit:RegisterEvent('spell2_23419', 1, 1)
end
if choix_sorts_23419 == 3 then
pUnit:RegisterEvent('spell3_23419', 1, 1)
end
end
function mob23419_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_23419', math.random(1500, 3000), 1)
end
function mob23419_Leave(pUnit, Event)
end
function mob23419_Kill(pUnit, Event)
end
function mob23419_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(23419, 1, 'mob23419_Action')
RegisterUnitEvent(23419, 2, 'mob23419_Leave')
RegisterUnitEvent(23419, 3, 'mob23419_Kill')
RegisterUnitEvent(23419, 4, 'mob23419_Die')
